﻿using AdminSystem.Application.Addresss.Dto;
using AdminSystem.Application.Admins.Dto;
using AdminSystem.Domain;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Application
{
    public class AdminSystemAutoMapperProfile : Profile
    {
        public AdminSystemAutoMapperProfile()
        {
            CreateMap<CreateUpdateAdminDto, Admin>();
            CreateMap<Admin, AdminDto>();
            CreateMap<CreateUpdateAddressDto, Address>();
            CreateMap<Address, AddressDto>();
        }
    }
}
